//用户的ts类型
export interface UserInfo {
  id?: number | string;
  createTime?: string;
  updateTime?: string;
  username: string;
  password: number | string;
  name: string;
  roleName?: string;
}
//分类角色的ts类型
export interface RoleUsersResponse {
  assignRoles: roleUser[];
  allRolesList: roleUser[];
}
//职位的ts类型
export interface RoleUser {
  id?: number | string;
  createTime?: string;
  updateTime?: string;
  roleName: string;
}

//给已有的用户分配角色的ts类型
export interface SetRoleUser {
  roleIdList: number[];
  userId: number;
}
